Phone+98-912-028-0065

Development of a numerical code based on the finite volume method for solving two-dimensional Navier-Stokes equations in steady state

1. Introduction & Methodology

The equation of momentum in the x and y directions is discretized using the finite volume method and has the following general form:

(1)   \[ a_P \phi_P = \sum a_{NB} \phi_{NB} + S \]

The continuity equation is converted into a pressure correction equation using the SIMPLE algorithm. The final discrete equation is written in the form of equation (1).

For the discretization of variables on the control volume surfaces, the upstream difference approach and the power-law method are applied.

The governing equations, which are Navier-Stokes, are defined in the following two-dimensional form:

(2)   \[ \frac{\partial (\rho u)}{\partial x} + \frac{\partial (\rho v)}{\partial y} = 0 \]

(3)   \[ \frac{\partial (\rho u u)}{\partial x} + \frac{\partial (\rho v u)}{\partial y} = -\frac{\partial p}{\partial x} + \frac{\partial}{\partial x} \left( \mu \frac{\partial u}{\partial x} \right) + \frac{\partial}{\partial y} \left( \mu \frac{\partial u}{\partial y} \right) \]

(4)   \[ \frac{\partial (\rho u v)}{\partial x} + \frac{\partial (\rho v v)}{\partial y} = -\frac{\partial p}{\partial y} + \frac{\partial}{\partial x} \left( \mu \frac{\partial v}{\partial x} \right) + \frac{\partial}{\partial y} \left( \mu \frac{\partial v}{\partial y} \right) \]

2. Results

In this section, we present the results obtained by applying a pressure correction factor of 0.1 and a velocity correction factor of 0.7. The simulation was performed on a 17x17 grid for Reynolds number 100. The flow streamlines and the vertical and horizontal velocity components are depicted in Figures (1), (2), and (3) respectively.

Figure 1:
Streamlines



Figure 2: Vertical Velocity Component

Figure 3: Horizontal Velocity Component

Additional results and analyses are available in the appendix.